<!DOCTYPE html>
<html lang="zh">
<head>
<title>系统订单 | OMS</title>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="Thu, 19 Nov 1900 08:52:00 GMT" />

<!-- 加载 bootstrap 样式-->
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/jquery-ui-1.10.4.custom/css/ui-lightness/jquery-ui-1.10.4.custom.min.css" />
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/font-awesome/css/font-awesome.min.css" />
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/bootstrap/css/bootstrap.min.css" />

<!-- 加载本页需要的三方插件样式 -->
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/DataTables/media/css/jquery.dataTables.css">
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/DataTables/extensions/TableTools/css/dataTables.tableTools.min.css">
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/DataTables/media/css/dataTables.bootstrap.css">
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/jquery-tablesorter/themes/blue/style-custom.css">
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/jquery-bootstrap-wizard/custom.css">
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/jquery-steps/css/jquery.steps.css">
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/animate.css/animate.css" />
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/iCheck/skins/all.css" />
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css">
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/bootstrap-daterangepicker/daterangepicker-bs3.css" />
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/jquery-notific8/jquery.notific8.min.css">
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/jquery-notific8/jquery.notific8.min.css">
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/bootstrap-select/bootstrap-select.min.css">
<!-- 加载主题风格样式 -->
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/css/themes/style1/orange-blue.css" class="default-style" />
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/css/themes/style1/orange-blue.css" id="theme-change"
    class="style-change color-change" />
<link type="text/css" rel="stylesheet" href="/Apollo/madmin/css/style-responsive.css" />
<link type="text/css" rel="stylesheet" href="orderList.css" />
<link type="text/css" rel="stylesheet" href="/css/tooltip.css" />

<style type="text/css">
#shipOrderTable tbody tr td{
text-align:right;
}

th, td {
    overflow: inherit;
}

</style>

</head>
<body class="">
    <!--BEGIN CONTENT-->
    <div class="page-content">
        <div class="container-fluid">
            <div class="row">
                <div class="col-lg-8 col-xs-8 col-sm-8 col-md-8" style="line-height:36px;">
                    <div class="actions" style="margin-bottom: 10px;margin-right:10px;">
                        <div class="btn-group" id="sign">
                        <button type="button" data-toggle="dropdown" class="btn btn-xs btn-info dropdown-toggle">标记 &nbsp;
                                            <span class="caret"></span>
                                        </button>
                                        <ul role="menu" class="dropdown-menu" id="batchButton">
                                            <li style="display:none;"><a href="#" onclick="onAuto()" id="onAuto" >自动</a>
                                            </li>
                                            <li style="display:none;"><a href="#" onclick="offAuto()" id="offAuto">手动</a>
                                            </li>
                                            <li style="display:none;"><a href="#" onclick="onLock()" id="onLock">锁定</a>
                                            </li>
                                            <li style="display:none;"><a href="#" onclick="offLock()" id="offLock">解锁</a>
                                            </li>
                                        </ul>
                         </div>
                        <div class="btn-group" id="batch">
                        <button type="button" data-toggle="dropdown" class="btn btn-xs btn-info dropdown-toggle">批量设置 &nbsp;
                                            <span class="caret"></span>
                                        </button>
                                        <ul role="menu" class="dropdown-menu" id="batchButton">
                                            <li style="display:none;"><a href="#" onclick="bachSetRemark();" id="batchRemark">批量设置内部备注</a>
                                            </li>
                                            <li style="display:none;"><a href="#" onclick="bachSetLgst();" id="batchCompany">批量设置物流公司</a>
                                            </li>
                                            <li style="display:none;"><a href="#" onclick="bachSetStor();" id="batchStore">批量设置发货仓库</a>
                                            </li>
                                            <li style="display:none;"><a href="#" onclick="bachSetSalesRemark();" id="batchSalesRemark">批量设置平台备注</a>
                                            </li>
                                        </ul>
                         </div>
                        <!-- <a href="#" class="btn btn-xs btn-info" data-toggle="modal" data-target="" onclick="inspectedOrder();" id="inspectedOrder" disabled>
                            <i class="fa" style="color: white;">&nbsp;验视</i>
                        </a>
                        <a href="#" class="btn btn-xs btn-danger" data-toggle="modal" data-target="" onclick="cancelInspectedOrder();" id="cancelInspectedOrder" disabled>
                            <i class="fa" style="color: white;">&nbsp;取消验视</i>
                        </a> -->
                        <a href="#" class="btn btn-xs btn-warning" data-toggle="modal" data-target="" onclick="auditOrder();" id="auditOrder" disabled>
                            <i class="fa" style="color: white;">&nbsp;审核</i>
                        </a>       
                        <a href="#" class="btn btn-xs btn-danger" data-toggle="modal" data-target="" onclick="unAuditOrder();" id="unAuditOrder" style="display:none;" disabled>
                            <i class="fa" style="color: white;">&nbsp;取消审核</i>
                        </a>
                        <a href="#" class="btn btn-xs btn-danger" data-toggle="modal" data-target="" onclick="cancelOrder();" id="cancelOrder" disabled>
                            <i class="fa" style="color: white;">&nbsp;废弃</i>
                        </a>
                        <a href="#" class="btn btn-xs btn-danger" data-toggle="modal" data-target="" onclick="revokeCancelOrder();" id="revokeCancelOrder" disabled>
                            <i class="fa" style="color: white;">&nbsp;取消废弃</i>
                        </a>
                        <!-- <a href="#" class="btn btn-xs btn-info" data-toggle="modal" data-target="" onclick="downLoadTrade();" id= "downLoadTrade" disabled>
                            <i class="fa" style="color: white;">&nbsp;手动下载</i>
                        </a> -->
                        <a href="#" class="btn btn-xs btn-success" data-toggle="modal" data-target="" onclick="finishOrder();" id="finishOrder" style="display:none;" disabled>
                            <i class="fa" style="color: white;">&nbsp;完成</i>
                        </a>
                        <a href="#" class="btn btn-xs btn-info" data-toggle="modal" data-target="" onclick="newOrder();" id= "newOrder" disabled>
                            <i class="fa" style="color: white;">&nbsp;新增</i>
                        </a>
                        <a href="#" class="btn btn-xs btn-info" data-toggle="modal" data-target="" onclick="importOrder();" id= "importOrder" disabled>
                            <i class="fa" style="color: white;">&nbsp;导入</i>
                        </a>
                        &nbsp;
                    </div>
                </div>
                <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4" style="margin-bottom: 10px;">
                    <div class="input-group">
                        <input id="quickSearch" type="text" placeholder="平台交易号、快递单号、客户ID、平台规格商家编码、买家手机号" class="form-control" /> <span
                            class="input-group-btn">
                            <button id="btnQuickSearch" type="button" class="btn btn-primary">
                                <i class="fa fa-search"></i>
                            </button>
                            <button id="btnAdvSearch" type="button" class="btn btn-default btn-adv-search">
                                <i class="fa fa-angle-double-down" style="font-size: 20px; color: white;"></i>
                            </button>
                        </span>
                    </div>
                </div>
            </div>
            
            <!-- 高级查询 -->
            <div class="row">
                <div class="col-lg-12">
                <div class="portlet box portlet-blue tabbable" style="margin-bottom:0px;">
                <div class="panel panel-default" id="advSearchPanel" style="display:none;">
            <!-- <div class="panel panel-default" id="advSearchPanel" style="position: fixed;Z-index: 9999; width: 95%;">   悬浮 -->
                <!-- 窗体悬浮，百分比根据情况设置 -->
                <div class="panel-body">
                    <form id="frmAdvSearch" role="form" action="" class="form-horizontal advance-query">
                        <!-- advance-query 必须要写的 -->
                        <div class="row">
                            <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                                <div class="form-group">
                                    <label for="tradeCode" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">平台交易号 </label>
                                    <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                        <input id="tradeCode" name="tradeCode" type="text" placeholder="" minlength="1" maxlength="100"
                                            class="form-control forsubmiteq" fieldname="o.trade_code" fieldtype="string" fieldoperator="and" />
                                    </div>
                                </div>
                            </div>
                            <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                                <div class="form-group">
                                    <label for="orderCode" class="col-sm-5 col-lg-5 col-xs-5 col-md-5 control-label">订单编号 </label>
                                    <div class="col-sm-8 col-lg-7 col-xs-7 col-md-7">
                                        <input id="orderCode" name="orderCode" type="text" placeholder="" minlength="1" maxlength="100"
                                            class="form-control forsubmiteq" fieldname="o.order_code" fieldtype="string" fieldoperator="and" />
                                    </div>
                                </div>
                            </div>
                            <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                                <div class="form-group">
                                    <label for="shopId" class="col-sm-5 col-lg-5 col-xs-5 col-md-5 control-label">店铺 </label>
                                    <div class="col-sm-7 col-lg-7 col-xs-7 col-md-7">
                                        <select id="shopId" name="shopId" class="form-control forsubmiteq" fieldname="o.shop_id"
                                            fieldtype="string" fieldoperator="and">
                                            <option value="">请选择</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                            
                            <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                                <div class="form-group">
                                    <label for="buyerNick" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">客户ID </label>
                                    <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                        <input id="buyerNick" name="buyerNick" type="text" placeholder="" minlength="1" maxlength="100"
                                            class="form-control forsubmiteq" fieldname="o.buyer_nick" fieldtype="string"
                                            fieldoperator="and" />
                                    </div>
                                </div>
                            </div>
                            
                            <!-- 
                            <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                                <div class="form-group">
                                    <label for="shopType" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">来源 </label>
                                    <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                        <select id="shopType" name="shopType" class="form-control forsubmiteq" fieldname="o.order_type"
                                            fieldtype="string" fieldoperator="and">
                                            <option value="">请选择</option>
                                            <option value="其它">其它</option>
                                            <option value="电话接单">电话接单</option>
                                            <option value="独立商城">独立商城</option>
                                            <option value="渠道采购">渠道采购</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                             -->
                        </div>

                        <div class="row">
                            <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                                <div class="form-group">
                                    <label for="dateType" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">时间类型 </label>
                                    <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                        <select id="dateType" name="dateType" class="form-control forsubmiteq" fieldname="" fieldtype="string"
                                            fieldoperator="">
                                            <option value="">请选择</option>
                                            <option value="拍单时间">拍单时间</option>
                                            <option value="付款时间">付款时间</option>
                                            <option value="发货时间">发货时间</option>
                                            <option value="完成时间">完成时间</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                            <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                                <div id="startTime1" class="form-group">
                                    <label for="orderTimeS" class="col-sm-5 col-lg-5 col-xs-5 col-md-5 control-label">开始时间 </label>
                                    <div class="col-sm-7 col-lg-7 col-xs-7 col-md-7">
                                    <div class="input-group datetimepicker-default date ">
                                        <input id="orderTimeS" name="orderTimeS" type="text" placeholder="" data-format="YYYY-MM-DD HH:mm:ss"
                                            class="form-control forsubmitgte" fieldname="o.order_time"
                                            fieldtype="string" fieldoperator="gte" readonly /> 
                                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                                    </div>
                                    </div>
                                </div>
                                <div id="startTime2" class="form-group" style="display: none;">
                                    <label for="paidDateS" class="col-sm-5 col-lg-5 col-xs-5 col-md-5 control-label">开始时间 </label>
                                    <div class="col-sm-7 col-lg-7 col-xs-7 col-md-7">
                                    <div class="input-group datetimepicker-default date">
                                        <input id="paidDateS" name="paidDateS" type="text" placeholder="" data-format="YYYY-MM-DD HH:mm:ss"
                                            class="form-control forsubmitgte" fieldname="o.paid_date"
                                            fieldtype="string" fieldoperator="gte" readonly /> 
                                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                                    </div>
                                    </div>
                                </div>
                                <div id="startTime3" class="form-group" style="display: none;">
                                    <label for="shipTimeS" class="col-sm-5 col-lg-5 col-xs-5 col-md-5 control-label">开始时间 </label>
                                    <div class="col-sm-7 col-lg-7 col-xs-7 col-md-7">
                                    <div class="input-group datetimepicker-default date">
                                        <input id="shipTimeS" name="shipTimeS" type="text" placeholder="" data-format="YYYY-MM-DD HH:mm:ss"
                                            class="form-control forsubmitgte" fieldname="o.ship_time"
                                            fieldtype="string" fieldoperator="gte" readonly /> 
                                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                                    </div>
                                    </div>
                                </div>
                                <div id="startTime4" class="form-group" style="display: none;">
                                    <label for="finishTimeS" class="col-sm-5 col-lg-5 col-xs-5 col-md-5 control-label">开始时间 </label>
                                    <div class="col-sm-7 col-lg-7 col-xs-7 col-md-7">
                                    <div class="input-group datetimepicker-default date">
                                        <input id="finishTimeS" name="finishTimeS" type="text" placeholder="" data-format="YYYY-MM-DD HH:mm:ss"
                                            class="form-control forsubmitgte" fieldname="o.finish_time"
                                            fieldtype="string" fieldoperator="gte" readonly /> 
                                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                                    </div>
                                    </div>
                                </div>
                            </div>
                            <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                                <div id="endTime1" class="form-group">
                                    <label for="orderTimeE" class="col-sm-5 col-lg-5 col-xs-5 col-md-5 control-label">截止时间 </label>
                                    <div class="col-sm-7 col-lg-7 col-xs-7 col-md-7">
                                    <div class="input-group datetimepicker-default date">
                                        <input id="orderTimeE" name="orderTimeE" type="text" placeholder="" data-format="YYYY-MM-DD HH:mm:ss"
                                            class="form-control forsubmitlte" fieldname="o.order_time"
                                            fieldtype="string" fieldoperator="lte" readonly /> 
                                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                                    </div>
                                    </div>
                                </div>
                                <div id="endTime2" class="form-group" style="display: none;">
                                    <label for="paidDateE" class="col-sm-5 col-lg-5 col-xs-5 col-md-5 control-label">截止时间</label>
                                    <div class="col-sm-7 col-lg-7 col-xs-7 col-md-7">
                                    <div class="input-group datetimepicker-default date">
                                        <input id="paidDateE" name="paidDateE" type="text" placeholder="" data-format="YYYY-MM-DD HH:mm:ss"
                                            class="form-control forsubmitlte" fieldname="o.paid_date"
                                            fieldtype="string" fieldoperator="lte" readonly /> 
                                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                                    </div>
                                    </div>
                                </div>
                                <div id="endTime3" class="form-group" style="display: none;">
                                    <label for="shipTimeE" class="col-sm-5 col-lg-5 col-xs-5 col-md-5 control-label">截止时间 </label>
                                    <div class="col-sm-7 col-lg-7 col-xs-7 col-md-7">
                                    <div class="input-group datetimepicker-default date">
                                        <input id="shipTimeE" name="shipTimeE" type="text" placeholder="" data-format="YYYY-MM-DD HH:mm:ss"
                                            class="form-control forsubmitlte" fieldname="o.ship_time"
                                            fieldtype="string" fieldoperator="lte" readonly /> 
                                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                                    </div>
                                    </div>
                                </div>
                                <div id="endTime4" class="form-group" style="display: none;">
                                    <label for="finishTimeE" class="col-sm-5 col-lg-5 col-xs-5 col-md-5 control-label">截止时间 </label>
                                    <div class="col-sm-7 col-lg-7 col-xs-7 col-md-7">
                                    <div class="input-group datetimepicker-default date">
                                        <input id="finishTimeE" name="finishTimeE" type="text" placeholder="" data-format="YYYY-MM-DD HH:mm:ss"
                                            class="form-control forsubmitlte" fieldname="o.finish_time"
                                            fieldtype="string" fieldoperator="lte" readonly /> 
                                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                                    </div>
                                    </div>
                                </div>
                            </div>
                            <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                                <div class="form-group">
                                    <label for="skuCode" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">规格商家编码 </label>
                                    <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                        <input id="skuCode" name="skuCode" type="text" placeholder="" minlength="1" maxlength="100"
                                            class="form-control forsubmiteq" fieldname="orderGoods.sku_code" fieldtype="string"
                                            fieldoperator="and" />
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="row">
                            <div class="col-sm-3 col-lg-3 col-xs-3 col-md-3">
                                <div class="form-group">
                                    <label for="hasInspected" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">验视</label>
                                    <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                           <select id="hasInspected" name="hasInspected" class="form-control forsubmiteq"  data-style="btn-white" fieldname="o.has_inspected" fieldtype="string"
                                            fieldoperator="and">
                                            <option value="">请选择</option>
                                            <option value="y">是</option>
                                            <option value="n">否</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                            
                            <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                                <div class="form-group">
                                    <label for="ecItemCode" class="col-sm-5 col-lg-5 col-xs-5 col-md-5 control-label">平台商品商家编码</label>
                                    <div class="col-sm-7 col-lg-7 col-xs-7 col-md-7">
                                        <input id="ecItemCode" name="ecItemCode" type="text" placeholder="" minlength="1" maxlength="100"
                                            class="form-control forsubmiteq" fieldname="orderGoods.ec_item_code" fieldtype="string"
                                            fieldoperator="and" />
                                    </div>
                                </div>
                            </div>
                            <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                                <div class="form-group">
                                    <label for="ecSkuCode" class="col-sm-5 col-lg-5 col-xs-5 col-md-5 control-label">平台规格商家编码</label>
                                    <div class="col-sm-7 col-lg-7 col-xs-7 col-md-7">
                                        <input id="ecSkuCode" name="ecSkuCode" type="text" placeholder="" minlength="1" maxlength="100"
                                            class="form-control forsubmiteq" fieldname="orderGoods.ec_sku_code" fieldtype="string"
                                            fieldoperator="and" />
                                    </div>
                                </div>
                            </div>
                            <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                                <div class="form-group">
                                    <label for="errorType" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">问题单类型 </label>
                                    <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                        <select id="errorType" name="errorType" class="selectpicker form-control forsubmitin" multiple="multiple" data-style="btn-white" 
                                        fieldname="" fieldtype="string" fieldoperator="">
                                            <option value="isOrderError">订单问题</option>
                                            <option value="isGoodsError">商品问题</option>
                                            <option value="isLgstError">物流问题</option>
                                            <option value="isStockError">库存问题</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                        </div>

                        <div class="row">
                            <div class="col-sm-3 col-lg-3 col-xs-3 col-md-3">
                                <div class="form-group">
                                    <label for="stamp" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">标记</label>
                                    <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                           <select id="stamp" name="stamp" class="form-control forsubmiteq"  data-style="btn-white" fieldname="o.sign" fieldtype="string"
                                            fieldoperator="and">
                                            <option value="">请选择</option>
                                            <option value="自动">自动</option>
                                            <option value="手动">手动</option>
                                            <option value="锁定">锁定</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                            
                            <div class="col-sm-3 col-lg-3 col-xs-3 col-md-3">
                                <div class="form-group">
                                    <label for="customerService" class="col-sm-5 col-lg-5 col-xs-5 col-md-5 control-label">售后</label>
                                    <div class="col-sm-7 col-lg-7 col-xs-7 col-md-7">
                                           <select id="customerService" name="customerService" class="form-control forsubmiteq"  data-style="btn-white" fieldname="o.customerService" fieldtype="string"
                                            fieldoperator="and">
                                            <option value="">请选择</option>
                                            <option value="1">是</option>
                                            <option value="0">否</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                            
                            <div class="col-sm-3 col-lg-3 col-xs-3 col-md-3">
                                <div class="form-group">
                                    <label for="combStus" class="col-sm-5 col-lg-5 col-xs-5 col-md-5 control-label">合并</label>
                                    <div class="col-sm-7 col-lg-7 col-xs-7 col-md-7">
                                           <select id="combStus" name="combStus" class="form-control forsubmiteq"  data-style="btn-white" fieldname="o.combStus" fieldtype="string"
                                            fieldoperator="and">
                                            <option value="">请选择</option>
                                            <option value="c">是</option>
                                            <option value="n">否</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                            
                            <div class="col-sm-3 col-lg-3 col-xs-3 col-md-3">
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-3 col-lg-3 col-xs-3 col-md-3">
                            <!-- 
                                <div class="form-group">
                                    <label for="hasInspected" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">验视</label>
                                    <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                           <select id="hasInspected" name="hasInspected" class="form-control"  data-style="btn-white" fieldname="" fieldtype="string"
                                            fieldoperator="and">
                                            <option value="">请选择</option>
                                            <option value="y">是</option>
                                            <option value="n">否</option>
                                        </select>
                                    </div>
                                </div>
                            -->
                            </div>
                            <div class="col-sm-9 col-lg-9 col-xs-9 col-md-9 text-right">
                                <button type="reset" id="advSearchReset" name="advSearchReset" class="btn btn-default">重置</button>
                                <button type="button" id="advSearchSubmit" name="advSearchSubmit" class="btn btn-primary">查询</button>
                            </div>
                        </div>
                        
                        <!-- 隐藏控件值 -->
                    <input type="hidden" id="hidOrderCodeEvent" name="hidOrderCodeEvent" /> 
                    <input type="hidden" id="hidTradeCodeEvent" name="hidTradeCodeEvent" />
                    <input type="hidden" id="hidBuyerNickEvent" name="hidBuyerNickEvent" />
                    <input type="hidden" id="hidOrderIdEvent" name="hidOrderIdEvent" />
                    <!-- 隐藏控件值 -->
                    </form>
                </div>
            </div>
            </div>
            </div>
            </div>
            <div class="row">
                <div class="col-lg-12">
                    <div class="portlet box portlet-blue tabbable">
                        <!--如果需要状态栏 必须加tabbable  -->
                        <div class="portlet-header">
                            <div class="caption">系统订单列表</div>
                        </div>
                        <div class="portlet-body">
                            <div class="tabbable portlet-tabs">
                                <ul class="nav nav-tabs">
                                    <li>
                                        <button id="exportEcTrade" onclick="exportEcTrade()" style="margin-top: 12px;" type="button" class="btn btn-warning btn-xs">
                                            <i class="fa"></i>&nbsp;导出
                                        </button>
                                    </li>
                                    <li>
                                        <button id="reloadBtn" onclick="refresh();" style="margin-top: 12px;" type="button" class="btn btn-warning btn-xs">
                                            <i class="fa"></i>&nbsp;刷新
                                        </button>
                                    </li>
                                    <!-- 目前要求不需要tab的下拉 
                                    <li class="dropdown"><a id="myDrop" href="#" data-toggle="dropdown" class="dropdown-toggle">问题单&nbsp;<b class="fa fa-angle-down"></b></a>
                                        <ul role="menu" aria-labelledby="myDrop" class="dropdown-menu">
                                            <li><a id="stockImperfect" href="#stockImperfectTab" tabindex="-1" data-toggle="tab">库存问题单</a>
                                            </li>
                                            <li><a id="goodsImperfect" href="#goodsImperfectTab" tabindex="-1" data-toggle="tab">商品问题单</a>
                                            </li>
                                        </ul>
                                    </li>
                                     -->
                                    <li><a id="cancel" href="#cancelTab" data-toggle="tab">已废弃(0)</a></li>
                                    <li><a id="complete" href="#completeTab" data-toggle="tab">已完成(0)</a></li>
                                    <li><a id="shipped" href="#shippedTab" data-toggle="tab">已发货(0)</a></li>
                                    <li><a id="shipping" href="#shippingTab" data-toggle="tab">发货中(0)</a></li>
                                    <li><a id="waitAssign" href="#waitAssignTab" data-toggle="tab">待分派(0)</a></li>
                                    <li class="active"><a id="waitVerify" href="#waitVerifyTab" data-toggle="tab">待审核(0)</a></li>
                                </ul>

                                <div class="tab-content">
                                    <!-- 待审核div -->
                                    <div id="waitVerifyTab" class="tab-pane fade in active">
                                        <div class="table-responsive" id="widthWaitVerifyTab">
                                            <table id="waitVerifyTable" 
                                                class="table table-hover table-striped table-bordered table-advanced tablefirst "
                                                width="100%" style="table-layout:fixed;">
                                                <thead>
                                                    <tr>
                                                        <th style="width:10px;"></th>
                                                        <th width="3%" style="padding-left: 10px"><input id="chkAlla" name="chkAlla" style=""
                                                         type="checkbox" colValue="chk" class="checkall" /></th>
                                                        <th width="10%">标 | 售 | 合 <!-- | 验 --></th>
                                                        <!-- <th width="4%">售后</th>
                                                        <th width="4%">合并</th>
                                                        <th width="4%">验视</th> -->
                                                        <th width="6%">旗(平)</th>
                                                        <th width="9%">店铺</th>
                                                        <th width="8%">客户ID</th>
                                                        <th width="10%">平台交易号</th>
                                                        <th width="7%">订单编号</th>
                                                        <!--<th width="5%">状态</th>-->
                                                        <!--<th width="4%">来源</th>-->
                                                        <th width="13%">拍单时间</th>
                                                        <th width="13%">付款时间</th>
                                                        <th width="11%">问题描述</th>
                                                        <th width="11%">买家留言</th>
                                                        <th width="11%">卖家备注</th>
                                                        <th width="16%">操作</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                </tbody>
                                            </table>
                                        </div>
                                    </div>
                                    <!-- 待分派div -->
                                    <div id="waitAssignTab" class="tab-pane fade" >
                                        <div class="table-responsive" id="widthWaitAssignTab">
                                            <table id="waitAssignTable"
                                                class="table table-hover table-striped table-bordered table-advanced tablefirst"
                                                width="100%" style="table-layout:fixed;">
                                                <thead>
                                                    <tr>
                                                        <th style="width:10px;"></th>
                                                        <th width="3%" style="padding-left: 10px"><input id="chkAlli" name="chkAlli" style=""                                                        
                                                            type="checkbox" colValue="chk" class="checkall" /></th>
                                                        <th width="8%">标 | 售 | 合</th>
                                                        <!-- <th width="4%">售后</th>
                                                        <th width="4%">合并</th> -->
                                                        <th width="6%">旗(平)</th>
                                                        <th width="10%">店铺</th>
                                                        <th width="10%">客户ID</th>
                                                        <th width="10%">平台交易号</th>
                                                        <th width="13%">订单编号</th>
                                                        <!--<th width="10%">状态</th>-->
                                                        <th width="13%">拍单时间</th>
                                                        <th width="13%">付款时间</th>
                                                        <th width="11%">买家留言</th>
                                                        <th width="11%">卖家备注</th>
                                                        <!--<th width="10%">问题描述</th>-->
                                                        <th width="10%">操作</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                </tbody>
                                            </table>
                                        </div>
                                    </div>
                                    <!-- 发货中div -->
                                    <div id="shippingTab" class="tab-pane fade">
                                        <div class="table-responsive" id="widthShippingTab">
                                            <table id="shippingTable"
                                                class="table table-hover table-striped table-bordered table-advanced tablefirst"
                                                width="100%" style="table-layout:fixed;">
                                                <thead>
                                                    <tr>
                                                        <th style="width:10px;"></th>
                                                        <th width="3%" style="padding-left: 10px"><input id="chkAllk" name="chkAllk" style=""                                                       
                                                            type="checkbox" colValue="chk" class="checkall" /></th>
                                                        <th width="8%">标 | 售 | 合</th>
                                                        <!-- <th width="4%">售后</th>
                                                        <th width="4%">合并</th> -->
                                                        <th width="6%">旗(平)</th>
                                                        <th width="10%">店铺</th>
                                                        <th width="10%">客户ID</th>
                                                        <th width="10%">平台交易号</th>
                                                        <th width="13%">订单编号</th>
                                                        <!--<th width="10%">状态</th>-->
                                                        <th width="13%">拍单时间</th>
                                                        <th width="13%">付款时间</th>
                                                        <th width="11%">买家留言</th>
                                                        <th width="11%">卖家备注</th>
                                                        <th width="10%">操作</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                </tbody>
                                            </table>
                                        </div>
                                    </div>
                                    <!-- 已发货div -->
                                    <div id="shippedTab" class="tab-pane fade">
                                        <div class="table-responsive" id="widthShippedTab">
                                            <table id="shippedTable"
                                                class="table table-hover table-striped table-bordered table-advanced tablefirst"
                                                width="100%" style="table-layout:fixed;">
                                                <thead>
                                                    <tr>
                                                        <th style="width:10px;"></th>
                                                        <th width="3%" style="padding-left: 10px"><input id="chkAllr" name="chkAllr"  style=""
                                                            type="checkbox" colValue="chk" class="checkall" /></th>
                                                        <th width="8%">标 | 售 | 合</th>
                                                        <!-- <th width="4%">售后</th>
                                                        <th width="4%">合并</th> -->
                                                        <th width="6%">旗(平)</th>
                                                        <th width="10%">店铺</th>
                                                        <th width="10%">客户ID</th>
                                                        <th width="10%">平台交易号</th>
                                                        <th width="13%">订单编号</th>
                                                        <!--<th width="10%">状态</th>-->
                                                        <!--<th width="4%">来源</th>-->
                                                       <th width="13%">拍单时间</th>
                                                        <th width="13%">付款时间</th>
                                                        <th width="11%">买家留言</th>
                                                        <th width="11%">卖家备注</th>
                                                        <th width="10%">操作</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                </tbody>
                                            </table>
                                        </div>
                                    </div>
                                    <!-- 已完成div -->
                                    <div id="completeTab" class="tab-pane fade">
                                        <div class="table-responsive" id="widthCompleteTab">
                                            <table id="completeTable"
                                                class="table table-hover table-striped table-bordered table-advanced tablefirst"
                                                width="100%" style="table-layout:fixed;">
                                                <thead>
                                                    <tr>
                                                        <th style="width:10px;"></th>
                                                        <th width="3%" style="padding-left: 10px"><input id="chkAllz" name="chkAllz" style=""
                                                            type="checkbox" colValue="chk" class="checkall" /></th>
                                                        <th width="8%">标 | 售 | 合</th>
                                                        <!-- <th width="4%">售后</th>
                                                        <th width="4%">合并</th> -->
                                                        <th width="6%">旗(平)</th>
                                                        <th width="10%">店铺</th>
                                                        <th width="10%">客户ID</th>
                                                        <th width="10%">平台交易号</th>
                                                        <th width="13%">订单编号</th>
                                                        <!--<th width="10%">状态</th>-->
                                                        <!--<th width="4%">来源</th>-->
                                                        <th width="13%">拍单时间</th>
                                                        <th width="13%">付款时间</th>
                                                        <th width="11%">买家留言</th>
                                                        <th width="11%">卖家备注</th>
                                                        <th width="10%">操作</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                </tbody>
                                            </table>
                                        </div>
                                    </div>
                                    <!-- 已废弃div -->
                                    <div id="cancelTab" class="tab-pane fade">
                                        <div class="table-responsive" id="widthCancelTab">
                                            <table id="cancelTable"
                                                class="table table-hover table-striped table-bordered table-advanced tablefirst"
                                                width="100%" style="table-layout:fixed;">
                                                <thead>
                                                    <tr>
                                                        <th style="width:10px;"></th>
                                                        <th width="3%" style="padding-left: 10px"><input id="chkAllcancel" name="chkAllcancel"  style=""
                                                            type="checkbox" colValue="chk" class="checkall" /></th>
                                                        <th width="8%">标 | 售 | 合</th>
                                                        <!-- <th width="4%">售后</th>
                                                        <th width="4%">合并</th> -->
                                                        <th width="6%">旗(平)</th>
                                                        <th width="10%">店铺</th>
                                                        <th width="10%">客户ID</th>
                                                        <th width="10%">平台交易号</th>
                                                        <th width="13%">订单编号</th>
                                                        <th width="10%">状态</th>
                                                        <!--<th width="4%">来源</th>-->
                                                        <th width="13%">拍单时间</th>
                                                        <th width="13%">付款时间</th>
                                                        <th width="11%">买家留言</th>
                                                        <th width="11%">卖家备注</th>
                                                        <th width="10%">操作</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                </tbody>
                                            </table>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <input type="hidden" id="myid" />
    <input type="hidden" id="tab" />
    <input type="hidden" id="shopTypeHid" />
    <!-- ====================================== 窗口区 ===================================== -->
    <!-- 新增订单 -->
    <div id="newOrderPage" tabindex="-1" role="dialog" aria-labelledby="modal-header-primary-label" data-backdrop="static" aria-hidden="true" class="modal fade">
        <div class="modal-dialog " style="width: 90%;">
            <div class="modal-content">
                <div class="modal-header modal-header-primary">
                    <button type="button" data-dismiss="modal" aria-hidden="true" class="close">&times;</button>
                    <h4 id="newOrderPageTitle" class="modal-title">新增订单</h4>
                </div>
                <div class="modal-body" style="overflow-y:auto; overflow-x:auto;height: 555px">
                    <input type="hidden" id="isNew" name="isNew" /> 
                    <input type="hidden" id="orderStatus" name="orderStatus" />
                    <input type="hidden" id="tradeStatus" name="tradeStatus" />	<!-- 当此内容为空时，表示是手动新建订单或者修改手动创建的订单 -->
                    <input type="hidden" id="orderIdNewOrderPage" name="orderIdNewOrderPage" /> 
                     <form id="frmNewOrder" name="frmNewOrder" role="form" action="" class="form-horizontal advance-query">
                     <div class="panel-heading" style="font-size: 14px">基础信息</div>
                     
                     <div class="row">
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            <div class="form-group">
                                <label for="shopIdNew" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">网店<span
                                            class='require'>*</span></label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <select id="shopIdNew" name="shopIdNew" class="form-control required" required>
                                        <option value="">请选择</option>
                                    </select>
                                </div>
                            </div>
                            <!-- 
                            <div class="form-group">
                                <label for="shopTypeNew" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">订单来源<span
                                            class='require'>*</span></label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <select id="shopTypeNew" name="shopTypeNew" class="form-control forsubmiteq" required>
                                        <option value="">请选择</option>
                                        <option value="其它">其它</option>
                                        <option value="电话接单">电话接单</option>
                                        <option value="独立商城">独立商城</option>
                                        <option value="渠道采购">渠道采购</option>
                                    </select>
                                </div>
                            </div>
                             -->
                        </div>
                        
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            <div class="form-group">
                                <label for="orderTypeNew" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">订单类型<span
                                            class='require'>*</span></label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <select id="orderTypeNew" name="orderTypeNew" class="form-control forsubmiteq" required>
                                        <option value="">请选择</option>
                                        <option value="见面交易">见面交易</option>
                                        <option value="货到付款">货到付款</option>
                                        <option value="担保交易">担保交易</option>
                                        <option value="一口价">一口价</option>
                                        <option value="先款后货">先款后货</option>
                                        <!-- 
                                        <option value="天猫国际">天猫国际</option>
                                         -->
                                    </select>
                                </div>
                            </div>
                        </div>
                        
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            <div class="form-group">
                                <label for="tradeCodeNew" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">来源单号<span
                                        class='require'>*</span></label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">                                        
                                    <input id="tradeCodeNew" name="tradeCodeNew" type="text" placeholder="" minlength="1"
                                           maxlength="500" class="form-control required" required/>
                                </div>
                            </div>
                        </div>
                        
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            <div class="form-group">
                                <label for="buyerNickNew" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">客户ID<span
                                            class='require'>*</span></label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <input id="buyerNickNew" name="buyerNickNew" type="text" placeholder="" minlength="1"
                                           maxlength="200" class="form-control required" required/>
                                </div>
                            </div>
                        </div>
                     </div>
                     
                     <div class="row">
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            <div class="form-group">
                                <label for="storIdNew" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">发货仓库<span
                                            class='require'>*</span></label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <select id="storIdNew" name="storIdNew" class="form-control required" required>
                                        <option value="">请选择</option>
                                    </select>
                                </div>
                            </div>
                        </div>
                        
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            <div class="form-group">
                                <label for="lgstIdNew" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">物流公司</label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <select id="lgstIdNew" name="lgstIdNew" class="form-control forsubmiteq" >
                                        <option value="">请选择</option>
                                    </select>
                                </div>
                            </div>
                        </div>
                        
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            <div class="form-group">
                                <label for="lgstNoNew" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">快递单号</label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <input id="lgstNoNew" name="lgstNoNew" type="text" placeholder="" minlength="1"
                                           maxlength="50" class="form-control " />
                                </div>
                            </div>
                        </div>
                        
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            <div class="form-group">
                                <label for="salesmanNew" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">业务员</label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <input id="salesmanNew" name="salesmanNew" type="text" placeholder="" minlength="1"
                                           maxlength="50" class="form-control " />
                                </div>
                            </div>
                        </div>
                        
                     </div>  
                     
                     <div class="row">
                        
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            <div class="form-group">
                                <label for="remarkNew" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">内部备注</label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <textarea id="remarkNew" name="remarkNew" maxlength="500" class="form-control " >
                                    </textarea>
                                </div>
                            </div>                            
                        </div>
                        
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            
                        </div>
                        
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            
                        </div>
                        
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">

                        </div>
                     </div> 
                      
                     <div class="panel-heading" style="font-size: 14px">收货信息</div>
                     <div class="row">
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            <div class="form-group">
                                <label for="consNew" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">姓名<span
                                            class='require'>*</label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <input id="consNew" name="consNew" type="text" placeholder="" minlength="1"
                                           maxlength="100" class="form-control required" required />
                                </div>
                            </div>
                        </div>
                         
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            <div class="form-group">
                                <label for="consMobileNew" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">手机</label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <input id="consMobileNew" name="consMobileNew" type="text" placeholder="" minlength="1"
                                           maxlength="50" class="form-control " />
                                </div>
                            </div>
                        </div>
                        
                        
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            <div class="form-group">
                                <label for="consTelNew" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">固定电话</label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <input id="consTelNew" name="consTelNew" type="text" placeholder="" minlength="1" 
                                           maxlength="20" class="form-control " />
                                </div>
                            </div>
                        </div>
                       
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            <div class="form-group">
                                <label for="consAddrNew" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">收货地址<span
                                            class='require'>*</label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <input id="consAddrNew" name="consAddrNew" type="text" placeholder="" minlength="1"
                                           maxlength="500" class="form-control required" required />
                                </div>
                            </div>
                        </div>
                        
                     </div>
                     
                     <div class="row">
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            <div class="form-group">
                                <label for="provNameNew" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">省</label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <select id="provNameNew" name="provNameNew" class="form-control ">
                                        <option value="">请选择</option>
                                    </select>
                                </div>
                            </div>
                        </div>
                        
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            <div class="form-group">
                                <label for="cityNameNew" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">市</label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <select id="cityNameNew" name="cityNameNew" class="form-control ">
                                        <option value="">请选择</option>
                                    </select>
                                </div>
                            </div>
                        </div>
                        
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            <div class="form-group">
                                <label for="distNameNew" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">区</label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <select id="distNameNew" name="distNameNew" class="form-control ">
                                        <option value="">请选择</option>
                                    </select>
                                </div>
                            </div>
                        </div>
                                             
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            <div class="form-group">
                                <label for="consPostCodeNew" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">邮编</label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <input id="consPostCodeNew" name="consPostCodeNew" type="text" placeholder="" minlength="1"
                                           maxlength="50" class="form-control " />
                                </div>
                            </div>
                        </div>
                     </div>
                     
                    <div class="row">
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            <div class="form-group">
                                <label for="payModeNew" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">支付方式<span
                                            class='require'>*</span></label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <select id="payModeNew" name="payModeNew" class="form-control required" required>
                                        <option value="">请选择</option>
                                        <option value="支付宝">支付宝</option>
                                        <option value="货到付款">货到付款</option>
                                        <option value="现金">现金</option>
                                        <option value="银行转账">银行转账</option>
                                        <option value="网易宝">网易宝</option>
                                        <option value="微信">微信</option>
                                        <option value="其他">其他</option>
                                    </select>
                                </div>
                            </div>
                        </div>
                        
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            <div class="form-group">
                                <label for="paidFeeNew" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">支付金额</label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <input id="paidFeeNew" name="paidFeeNew" type="text" placeholder="" minlength="1"
                                           maxlength="18" class="form-control " />
                                </div>
                            </div>                            
                        </div>
                        
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            <div class="form-group">
                                <label for="paidDateNew" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">付款时间 </label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                <div class="input-group datetimepicker-default date ">
                                    <input id="paidDateNew" name="paidDateNew" type="text" placeholder="" data-format="YYYY-MM-DD HH:mm:ss"
                                        class="form-control forsubmitgte" readonly /> 
                                    <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                                </div>
                                </div>
                            </div>                            
                        </div>
                        
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            <div class="form-group">
                                <label for="lgstFeeNew" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">物流费用</label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <input id="lgstFeeNew" name="lgstFeeNew" type="text" placeholder="" minlength="1"
                                           maxlength="18" class="form-control " />
                                </div>
                            </div>                            
                        </div>
                        
                     </div>
                     
                     <div class="row">
                        <div class="col-sm-12 col-lg-12 col-xs-12 col-md-12 text-right">
	                       <div class="btn-group" id="sign">
                                <button type="button" data-toggle="dropdown" class="btn btn-xs btn-warning dropdown-toggle">添加商品 &nbsp;
                                    <span class="caret"></span>
                                </button>
                                    <ul role="menu" class="dropdown-menu" id="batchButton">
                                        <li><a href="#" onclick="" id="createOrderGoods">添加商品</a>
                                        </li>
                                        <li><a href="#" onclick="" id="createOrderGoodsGift">添加赠品</a>
                                        </li>
                                    </ul>
                            </div>
                     <!-- 
                            <button type="button" id="createOrderGoods" name="createOrderGoods" class="btn btn-primary">
                                                                                    添加商品
                            </button>
                            
                            <button type="button" id="deleteAllOrderGoods" name="deleteAllOrderGoods" class="btn btn-primary">
                                                                                    全部删除
                            </button>
                      -->
                        </div>
                    </div>
                    </form>
                    <p>
                    <div class="portlet-body ">
                    <div class="table-responsive">
                        <table id="newOrderTable"
                               style="table-layout:fixed;" class="table table-striped table-bordered table-hover" 
                               width="100%">
                            <thead>
                            <tr>
                                <th width="2%" colValue="">属性</th>
                                <th width="13%" colValue="">商品商家编码<span class='require'>*</span></th>
                                <th width="8%" colValue="">商品名称<span class='require'>*</span></th>
                                <th width="13%" colValue="">规格商家编码<span class='require'>*</span></th>
                                <th width="8%" colValue="">规格名称<span class='require'>*</span></th>
                                <th width="2%" colValue="" style="text-align:right;">数量<span class='require'>*</span></th>
                                <th width="5%" colValue="" style="text-align:right;">标准售价</th>
                                <th width="2%" colValue="" style="text-align:right;">折扣</th>
                                <th width="10%" colValue="" style="text-align:right;">实际单价<span class='require'>*</span></th>
                                <th width="10%" colValue="" style="text-align:right;">标准金额</th>
                                <th width="10%" colValue="" style="text-align:right;">实际金额</th>
                                <!-- 
                                <th width="2%" colValue="">库存数</th>
                                <th width="5%" colValue="">可用数</th>
                                <th width="5%" colValue="">在途数</th>
                                 -->
                                <th width="10%" colValue="">备注</th>
                                <th width="10%" colValue="">操作</th>
                            </tr>
                            <tbody>
    
                            </tbody>
                            </thead>
                        </table>
                    </div>
                    </div>
                     
                </div>
                <div class="modal-footer">
                    <button id="btnOrderCancel" type="button" data-dismiss="modal" class="btn btn-default">取消</button>
                    <button id="btnOrderAdd" type="button" class="btn btn-primary">保存</button>
                </div>
            </div>
        </div>
    </div>
    
    <!--  添加商品/添加赠品 -->
    <div id="modalAddItem" shopid="" tabindex="-1" role="dialog" aria-labelledby="modal-header-primary-label" data-backdrop="static" aria-hidden="true" class="modal fade">
        <div class="modal-dialog " style="width: 50%;height:95%;" >
            <div class="modal-content">
                <div class="modal-header modal-header-primary">
                    <button type="button" data-dismiss="modal" aria-hidden="true" class="close">&times;</button>
                    <h4 id="modalAddItemTitle" class="modal-title" style="display:block;white-space:nowrap; overflow:hidden; text-overflow:ellipsis;">添加非单据商品</h4>
                </div>
                <div class="modal-body" style="width: 99%;height:300px;overflow-y:auto; overflow-x:hidden; ">
                    <div id="flat-skin" class="row skin skin-flat" style="overflow-x: scroll">
                        <div class="table-responsive">
                            <input type="hidden" id="isGift" name="isGift" /> 
                            <!-- 查询条件 -->
                            <form id="frmSelPrjSku" action="#" class="form-horizontal">
                                <div class="row">
                                    <div class="col-lg-5 col-xs-5 col-sm-5 col-md-5">
                                        <div class="form-group">
                                            <label for="skuGoodsCode" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">商品商家编码</label>
                                            <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                                <input id="skuGoodsCode" name="skuGoodsCode" type="text" placeholder="模糊查询" minlength="1" maxlength="100"
                                                    class="form-control" fieldtype="string" />
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-lg-7 col-xs-7 col-sm-7 col-md-7">
                                        <div class="form-group">
                                            <label for="skuGoodsName" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">商品名称</label>
                                            <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                                <input id="skuGoodsName" name="skuGoodsName" type="text" placeholder="模糊查询" minlength="1" maxlength="100"
                                                    class="form-control" fieldtype="string" />
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-lg-5 col-xs-5 col-sm-5 col-md-5">
                                        <div class="form-group">
                                            <label for="skuSkuCode" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">规格商家编码</label>
                                            <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                                <input id="skuSkuCode" name="skuSkuCode" type="text" placeholder="模糊查询" minlength="1" maxlength="100"
                                                    class="form-control" fieldtype="string" />
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-lg-7 col-xs-7 col-sm-7 col-md-7">
                                        <div class="form-group">
                                            <label for="skuSkuName" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">规格名称</label>
                                            <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                                <input id="skuSkuName" name="skuSkuName" type="text" placeholder="模糊查询" minlength="1" maxlength="100"
                                                    class="form-control" fieldtype="string" />
                                            </div>
                                        </div>
                                    </div>
                                </div>
                    
                                <div class="row">
                                    <div class="col-sm-12 col-lg-12 col-xs-12 col-md-12 text-right">
                                        <button type="reset" id="btnReset" name="btnReset" class="btn btn-default">重置</button>
                                        <button type="button" id="btnPrjSkuSearch" name="btnPrjSkuSearch" class="btn btn-primary">查询</button>
                                    </div>
                                </div>
                                <br>
                            </form>
                            <!-- 查询条件 -->
                    
                            <table id="addItemTable"
                                   class="table table-hover table-striped table-bordered table-advanced tb-sticky-header"
                                   cellspacing="0" style="width:100%;">
                                <thead>
                                <tr>
                                    <th width="1%" style="padding: 10px;"><input id="chkAllItem" name="chkAllItem" type="checkbox" colValue="chk" class="checkall" /></th>
                                    <th width="15%" colValue="goodsCode">商品商家编码</th>
                                    <th width="15%" colValue="goodsName">商品名称</th>
                                    <th width="15%" colValue="skuCode">规格商家编码</th>
                                    <th width="15%" colValue="skuName">规格名称</th>
                                </tr>
                                <tbody>
                                </tbody>
                                </thead>
                            </table>
                        </div>   
                    </div>
                </div>
                <div class="modal-footer">
                    <button id="btnAddItemClose" type="button" data-dismiss="modal" class="btn btn-default">关闭</button>
                    <button id="btnAddItem" type="button" class="btn btn-primary">确定</button>
                </div>
            </div>
        </div>
    </div>
    <div id="modalEditItem" shopid="" tabindex="-1" role="dialog" aria-labelledby="modal-header-primary-label" data-backdrop="static" aria-hidden="true" class="modal fade">
        <div class="modal-dialog " style="width: 50%;height:95%;" >
            <div class="modal-content">
                <div class="modal-header modal-header-primary">
                    <button type="button" data-dismiss="modal" aria-hidden="true" class="close">&times;</button>
                    <h4 id="modalAddItemTitle" class="modal-title" style="display:block;white-space:nowrap; overflow:hidden; text-overflow:ellipsis;">添加非单据商品</h4>
                </div>
                <div class="modal-body" style="width: 99%;height:300px;overflow-y:auto; overflow-x:hidden; ">
                    <div id="flat-skin" class="row skin skin-flat" style="overflow-x: scroll">
                        <div class="table-responsive">
                            <input type="hidden" id="isGift" name="isGift" /> 
                            <input type="hidden" id="isVirt" name="isVirt" /> 
                            <input type="hidden" id="noAllowedSkuCode" name="noAllowedSkuCode" /> 
                            <!-- 查询条件 -->
                            <form id="frmSelPrjSku" action="#" class="form-horizontal">
                                <div class="row">
                                    <div class="col-lg-5 col-xs-5 col-sm-5 col-md-5">
                                        <div class="form-group">
                                            <label for="skuGoodsCode" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">商品商家编码</label>
                                            <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                                <input id="skuGoodsCode" name="skuGoodsCode" type="text" placeholder="模糊查询" minlength="1" maxlength="100"
                                                    class="form-control" fieldtype="string" />
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-lg-7 col-xs-7 col-sm-7 col-md-7">
                                        <div class="form-group">
                                            <label for="skuGoodsName" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">商品名称</label>
                                            <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                                <input id="skuGoodsName" name="skuGoodsName" type="text" placeholder="模糊查询" minlength="1" maxlength="100"
                                                    class="form-control" fieldtype="string" />
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div class="row">
                                    <div class="col-lg-5 col-xs-5 col-sm-5 col-md-5">
                                        <div class="form-group">
                                            <label for="skuSkuCode" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">规格商家编码</label>
                                            <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                                <input id="skuSkuCode" name="skuSkuCode" type="text" placeholder="模糊查询" minlength="1" maxlength="100"
                                                    class="form-control" fieldtype="string" />
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-lg-7 col-xs-7 col-sm-7 col-md-7">
                                        <div class="form-group">
                                            <label for="skuSkuName" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">规格名称</label>
                                            <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                                <input id="skuSkuName" name="skuSkuName" type="text" placeholder="模糊查询" minlength="1" maxlength="100"
                                                    class="form-control" fieldtype="string" />
                                            </div>
                                        </div>
                                    </div>
                                </div>
                    
                                <div class="row">
                                    <div class="col-sm-12 col-lg-12 col-xs-12 col-md-12 text-right">
                                        <button type="reset" id="btnReset" name="btnReset" class="btn btn-default">重置</button>
                                        <button type="button" id="btnPrjSkuSearch" name="btnPrjSkuSearch" class="btn btn-primary">查询</button>
                                    </div>
                                </div>
                                <br>
                            </form>
                            <!-- 查询条件 -->
                    
                            <table id="addItemTable"
                                   class="table table-hover table-striped table-bordered table-advanced tb-sticky-header"
                                   cellspacing="0" style="width:100%;">
                                <thead>
                                <tr>
                                    <th width="1%" style="padding: 10px;"></th>
                                    <th width="15%" colValue="goodsCode">商品商家编码</th>
                                    <th width="15%" colValue="goodsName">商品名称</th>
                                    <th width="15%" colValue="skuCode">规格商家编码</th>
                                    <th width="15%" colValue="skuName">规格名称</th>
                                </tr>
                                <tbody>
                                </tbody>
                                </thead>
                            </table>
                        </div>   
                    </div>
                </div>
                <div class="modal-footer">
                    <button id="btnAddItemClose" type="button" data-dismiss="modal" class="btn btn-default">关闭</button>
                    <button id="btnAddItem" type="button" class="btn btn-primary">确定</button>
                </div>
            </div>
        </div>
    </div>
    
    <!-- 废弃订单 -->
    <div id="modalCancleOrder" tabindex="-1" role="dialog" aria-labelledby="modal-header-primary-label" data-backdrop="static" aria-hidden="true" class="modal fade">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header modal-header-primary">
                    <button type="button" data-dismiss="modal" aria-hidden="true" class="close">&times;</button>
                    <h4 id="modal-header-primary-label" class="modal-title">废弃订单</h4>
                </div>
                <div class="modal-body">
                    <div class="row">
                        <div class="">
                            <div class="form-group">
                                <label for="remarkNew" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">废弃原因</label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <textarea id="cancelRemark" name="cancelRemark" maxlength="500" class="form-control " >
                                    </textarea>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="modal-footer">
                    <button id="btnCancleOrderF" type="button" data-dismiss="modal" class="btn btn-default">否</button>
                    <button id="btnCancleOrder" type="button" class="btn btn-primary">是</button>
                </div>
            </div>
        </div>
    </div>
    
    <!-- 取消废弃订单 -->
    <div id="modalRevokeCancelOrder" tabindex="-1" role="dialog" aria-labelledby="modal-header-primary-label" data-backdrop="static" aria-hidden="true" class="modal fade">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header modal-header-primary">
                    <button type="button" data-dismiss="modal" aria-hidden="true" class="close">&times;</button>
                    <h4 id="modal-header-primary-label" class="modal-title">取消废弃订单</h4>
                </div>
                <div class="modal-footer">
                    <button id="btnRevokeCancel" type="button" data-dismiss="modal" class="btn btn-default">否</button>
                    <button id="btnRevokeCancelOrder" type="button" class="btn btn-primary">是</button>
                </div>
            </div>
        </div>
    </div>
    
    <!-- 批量追加备注 -->
    <div id="modalBatchRemark" tabindex="-1" role="dialog" aria-labelledby="modal-header-primary-label" data-backdrop="static" aria-hidden="true" class="modal fade">
            <div class="modal-dialog">
                <div class="modal-content">
                    <div class="modal-header modal-header-primary">
                        <button type="button" data-dismiss="modal" aria-hidden="true" class="close">&times;</button>
                        <h4 id="modal-header-primary-label" class="modal-title">批量追加备注</h4>
                    </div>
                    <div class="modal-body">
                        <!-- <h3 class="mbxl">备注填写</h3> -->
                        <form id="batchRemarkForm" role="form" action="" class="form-horizontal">
                            <div class="form-group">
                                <label for="prjId" class="col-sm-3 control-label" style="width: 15%;">备注<span class='require'>*</span>
                                </label>
                                <div class="col-sm-9">
                                     <textarea id="addRemark" name="addRemark" maxlength="500" class="form-control " >
                                    </textarea>
                                </div>
                            </div>
                        </form>
                    </div>
                    <div class="modal-footer">
                        <button id="btnBatchRemarkCancel" type="button" data-dismiss="modal" class="btn btn-default">取消</button>
                        <button id="btnBatchRemark" type="button" class="btn btn-primary">确定</button>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 批量仓库 -->
        <div id="modalBatchStor" tabindex="-1" role="dialog" aria-labelledby="modal-header-primary-label" data-backdrop="static" aria-hidden="true" class="modal fade">
            <div class="modal-dialog" style="width: 50%;">
                <div class="modal-content">
                    <div class="modal-header modal-header-primary">
                        <button type="button" data-dismiss="modal" aria-hidden="true" class="close">&times;</button>
                        <h4 id="modal-header-primary-label" class="modal-title">批量设置发货仓库</h4>
                    </div>
                    <div class="modal-body">
                        <h3 class="mbxl">发货仓库选择</h3>
                        <form id="batchStorForm" role="form" action="" class="form-horizontal">
                            <div class="portlet-body">
                                <table id="selectStorTable" class="table table-hover table-striped table-bordered table-advanced tb-sticky-header" width="100%">
                                    <thead>
                                        <tr>
                                            <th width="50%" colValue="">仓库名称</th>
                                            <th width="50%" colValue="">操作</th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                    </tbody>
                                </table>
				            </div>
                        </form>
                    </div>
                    <div class="modal-footer">
                        <button id="btnReturnBatch" type="button" data-dismiss="modal" class="btn btn-default">返回</button>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 批量物流公司-->
        <div id="modalBatchLgst" tabindex="-1" role="dialog" aria-labelledby="modal-header-primary-label" data-backdrop="static" aria-hidden="true" class="modal fade">
            <div class="modal-dialog" style="width: 50%;">
                <div class="modal-content">
                    <div class="modal-header modal-header-primary">
                        <button type="button" data-dismiss="modal" aria-hidden="true" class="close">&times;</button>
                        <h4 id="modal-header-primary-label" class="modal-title">批量设置物流公司</h4>
                    </div>
                    <div class="modal-body">
                        <h3 class="mbxl">物流公司选择</h3>
                        <form id="batchLgstForm" role="form" action="" class="form-horizontal">
                            <div class="portlet-body">
                                <table id="selectLgstTable" class="table table-hover table-striped table-bordered table-advanced tb-sticky-header" width="100%">
                                    <thead>
                                        <tr>
                                            <th width="50%" colValue="">物流公司名称</th>
                                            <th width="50%" colValue="">操作</th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                    </tbody>
                                </table>
				            </div>
                        </form>
                    </div>
                    <div class="modal-footer">
                        <button id="btnReturn" type="button" data-dismiss="modal" class="btn btn-default">返回</button>
                    </div>
                </div>
            </div>
        </div>

    <!-- 批量设置平台备注(卖家备注和平台旗帜) -->
    <div id="modalBatchSalesRemark" tabindex="-1" role="dialog" aria-labelledby="modal-header-primary-label" data-backdrop="static" aria-hidden="true" class="modal fade">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header modal-header-primary">
                    <button type="button" data-dismiss="modal" aria-hidden="true" class="close">&times;</button>
                    <h4 id="modal-header-primary-label" class="modal-title">批量设置平台备注</h4>
                </div>
                <div class="modal-body">
                    <!-- <h3 class="mbxl">备注填写</h3> -->
                    <form id="batchSalesRemarkForm" role="form" action="" class="form-horizontal">
                        <div class="form-group">
                            <label for="tbFlagCode" class="col-sm-3 control-label" style="width: 15%;">平台旗帜<span class='require'>*</span></label>
                            <div class="col-sm-9">
                                <select id="tbFlagCode" name="tbFlagCode" class="form-control forsubmiteq" required>
                                    <option value="0">灰色</option>
                                    <option value="1">红色</option>
                                    <option value="2">黄色</option>
                                    <option value="3">绿色</option>
                                    <option value="4">蓝色</option>
                                    <option value="5">粉色</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="updateSalesRemark" class="col-sm-3 control-label" style="width: 15%;">卖家备注<span class='require'>*</span></label>
                            <div class="col-sm-9">
                                     <textarea id="updateSalesRemark" name="updateSalesRemark" maxlength="500" class="form-control " >
                                    </textarea>
                            </div>
                        </div>
                    </form>
                </div>
                <div class="modal-footer">
                    <button id="btnBatchSalesRemarkCancel" type="button" data-dismiss="modal" class="btn btn-default">取消</button>
                    <button id="btnBatchSalesRemark" type="button" class="btn btn-primary">确定</button>
                </div>
            </div>
        </div>
    </div>

        <!-- 手动新增退款单 -->
        <div id="modalSysRefundDetail" shopid="" tabindex="-1" role="dialog" aria-labelledby="modal-header-primary-label" data-backdrop="static" aria-hidden="true" class="modal fade">
            <div class="modal-dialog modal-wide-width">
                <div class="modal-content">
                    <div class="modal-header modal-header-primary">
                        <button type="button" data-dismiss="modal" aria-hidden="true" class="close">&times;</button>
                        <h4 id="modal-header-primary-label" class="modal-title" style="display:block;white-space:nowrap; overflow:hidden; text-overflow:ellipsis;">手动新增退款单</h4>
                    </div>
                    <div class="modal-body">
                        <div id="flat-skin" class="row skin skin-flat">
                            <iframe id="ifmSysRefundDetail" name="ifmSysRefundDetail" allowtransparency="true" style="background-color=transparent" title="test" frameborder="0" width="100%" height="500px" scrolling="auto"></iframe> 
                        </div>
                    </div>
                    <div class="modal-footer">
                        <button id="btnClose" type="button" data-dismiss="modal" class="btn btn-default">关闭</button>
                        <button id="btnSaveSysRefund" type="button" class="btn btn-primary">保存</button>
                    </div>
                </div>
            </div>
        </div>

    <!-- 手动新增退货单 -->
    <div id="modalSysReturnDetail" shopid="" tabindex="-1" role="dialog" aria-labelledby="modal-header-primary-label" data-backdrop="static" aria-hidden="true" class="modal fade">
        <div class="modal-dialog modal-wide-width">
            <div class="modal-content">
                <div class="modal-header modal-header-primary">
                    <button id="modalSysReturnDetailClose" type="button" data-dismiss="modal" aria-hidden="true" class="close">&times;</button>
                    <h4 id="modal-header-primary-label" class="modal-title" style="display:block;white-space:nowrap; overflow:hidden; text-overflow:ellipsis;">手动新增退货单</h4>
                </div>
                <div class="modal-body">
                    <div id="flat-skin" class="row skin skin-flat">
                        <iframe id="ifmSysReturnDetail" name="ifmSysReturnDetail" allowtransparency="true" style="background-color=transparent" title="test" frameborder="0" width="100%" height="600px" scrolling="auto"></iframe>
                    </div>
                </div>
                <!-- 
                <div class="modal-footer">
                    <button id="btnReturnClose" type="button" data-dismiss="modal" class="btn btn-default">关闭</button>
                    <button id="btnSaveSysReturn" type="button" class="btn btn-primary">保存</button>
                </div>
                 -->
            </div>
        </div>
    </div>
    
      <!-- 手动新增补发单 -->
        <div id="modalResendDetail" shopid="" tabindex="-1" role="dialog" aria-labelledby="modal-header-primary-label" data-backdrop="static" aria-hidden="true" class="modal fade">
            <div class="modal-dialog modal-wide-width">
                <div class="modal-content">
                    <div class="modal-header modal-header-primary">
                        <button type="button" data-dismiss="modal" aria-hidden="true" class="close">&times;</button>
                        <h4 id="modal-header-primary-label" class="modal-title" style="display:block;white-space:nowrap; overflow:hidden; text-overflow:ellipsis;">手动新增补发单</h4>
                    </div>
                    <div class="modal-body">
                        <div id="flat-skin" class="row skin skin-flat">
                            <iframe id="ifmResendDetail" name="ifmResendDetail" allowtransparency="true" style="background-color=transparent" title="test" frameborder="0" width="100%" height="500px" scrolling="auto"></iframe> 
                        </div>
                    </div>
                    <div class="modal-footer">
                        <button id="btnResendClose" type="button" data-dismiss="modal" class="btn btn-default">关闭</button>
                        <button id="btnSaveResend" type="button" class="btn btn-primary">保存</button>
                    </div>
                </div>
            </div>
        </div>
        
         <!-- 手动新增售后事件 -->
        <div id="modalEventDetail" shopid="" tabindex="-1" role="dialog" aria-labelledby="modal-header-primary-label" data-backdrop="static" aria-hidden="true" class="modal fade">
            <div class="modal-dialog modal-wide-width">
                <div class="modal-content">
                    <div class="modal-header modal-header-primary">
                        <button type="button" data-dismiss="modal" aria-hidden="true" class="close">&times;</button>
                        <h4 id="modal-header-primary-label" class="modal-title" style="display:block;white-space:nowrap; overflow:hidden; text-overflow:ellipsis;">手动新增售后事件</h4>
                    </div>
                    <div class="modal-body">
                        <div id="flat-skin" class="row skin skin-flat">
                            <iframe id="ifmEventDetail" name="ifmEventDetail" allowtransparency="true" style="background-color=transparent" title="test" frameborder="0" width="100%" height="500px" scrolling="auto"></iframe> 
                        </div>
                    </div>
                    <div class="modal-footer">
                        <button id="btnEventClose" type="button" data-dismiss="modal" class="btn btn-default">关闭</button>
                        <button id="btnSaveEvent" type="button" class="btn btn-primary">保存</button>
                    </div>
                </div>
            </div>
        </div>
        <!-- 查询窗口 -->
    <div id="eventCheckWindow" tabindex="-1" role="dialog" aria-hidden="true" class="modal fade">
        <div class="modal-dialog modal-wide-width">
            <div class="modal-content">
                <div class="modal-header modal-header-primary">
                    <button type="button" data-dismiss="modal" aria-hidden="true" class="close">x</button>
                    <h4 id="modal-header-primary-label" class="modal-title">系统订单选择</h4>
                </div>
                <div class="modal-body">
                    <div class="portlet-body">

                        <div id="flat-skin" class="row skin skin-flat">
                            <iframe id="ifmEventAddOrderDetail" name="ifmEventAddOrderDetail" allowtransparency="true" style="" title="test"
                                frameborder="0" width="100%" height="400px" scrolling="no"></iframe>
                        </div>

                    </div>
                </div>
                <div class="modal-footer" style="display: none;">
                    <button id="btnEventOrderClose" type="button" data-dismiss="modal" class="btn btn-default">关闭</button>
                </div>

            </div>
        </div>
    </div>
        
        <!-- 手动分派 -->
        <div id="assignOrderPage" tabindex="-1" role="dialog" aria-labelledby="modal-header-primary-label" data-backdrop="static" aria-hidden="true" class="modal fade">
        <div class="modal-dialog " style="width: 90%;">
            <div class="modal-content">
                <div class="modal-header modal-header-primary">
                    <button type="button" data-dismiss="modal" aria-hidden="true" class="close">&times;</button>
                    <h4 id="showItemListTitle" class="modal-title">分派订单</h4>
                </div>
                <div class="modal-body" style="overflow-y:auto; overflow-x:auto;height: 555px">
                     <form id="frmOrderAssign" role="form" action="" class="form-horizontal advance-query">
<!--                      <div class="panel-heading" style="font-size: 14px">基础信息</div> -->
                     <div class="row">
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            <div class="form-group">
                                <div class="col-lg-1 col-xs-1 col-sm-1 col-md-1">
                                </div>
                                <div class="col-lg-11 col-xs-11 col-sm-11 col-md-11">
                                    <label id="orderCodeAssign" class="control-label">订单编号：</label>
                                </div>
                                
                            </div>
                        </div>
                        
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            <div class="form-group">
                                <div class="col-lg-1 col-xs-1 col-sm-1 col-md-1">
                                </div>
                                <div class="col-lg-11 col-xs-11 col-sm-11 col-md-11">
                                    <label id="orderStatusAssign" class="control-label">订单状态：</label>
                                </div>
                            </div>
                        </div>
                        
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            <div class="form-group">
                                <div class="col-lg-1 col-xs-1 col-sm-1 col-md-1">
                                </div>
                                <div class="col-lg-11 col-xs-11 col-sm-11 col-md-11">
                                    <label id="orderTypeAssign" class="control-label">订单类型：</label>
                                </div>
                            </div>
                        </div>
                        
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            <div class="form-group">
                                <div class="col-lg-1 col-xs-1 col-sm-1 col-md-1">
                                </div>
                                <div class="col-lg-11 col-xs-11 col-sm-11 col-md-11">
                                    <label id="payModeAssign" class="control-label">支付方式：</label>
                                </div>
                            </div>
                        </div>
                     </div>
                     
                     <div class="row">
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            <div class="form-group">
                                <div class="col-lg-1 col-xs-1 col-sm-1 col-md-1">
                                </div>
                                <div class="col-lg-11 col-xs-11 col-sm-11 col-md-11">
                                    <label id="shopTypeAssign" class="control-label">订单来源：</label>
                                </div>
                            </div>
                        </div>
                        
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            <div class="form-group">
                                <div class="col-lg-1 col-xs-1 col-sm-1 col-md-1">
                                </div>
                                <div class="col-lg-11 col-xs-11 col-sm-11 col-md-11">
                                    <label id="shopNameAssign" class="control-label">来源网店：</label>
                                </div>
                            </div>
                        </div>
                        
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            <div class="form-group">
                                <div class="col-lg-1 col-xs-1 col-sm-1 col-md-1">
                                </div>
                                <div class="col-lg-11 col-xs-11 col-sm-11 col-md-11">
                                    <label id="tradeCodeAssign" class="control-label">来源单号：</label>
                                </div>
                            </div>
                        </div>
                        
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            <div class="form-group">
                                <div class="col-lg-1 col-xs-1 col-sm-1 col-md-1">
                                </div>
                                <div class="col-lg-11 col-xs-11 col-sm-11 col-md-11">
                                    <label id="buyerNickAssign" class="control-label">客户ID：</label>
                                </div>
                            </div>
                        </div>
                        
                     </div>  
                     
                     <div class="row">
                        
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            <div class="form-group">
                                <div class="col-lg-1 col-xs-1 col-sm-1 col-md-1">
                                </div>
                                <div class="col-lg-11 col-xs-11 col-sm-11 col-md-11">
                                    <label id="shipTimeAssign" class="control-label">发货日期：</label>
                                </div>
                            </div>
                        </div>
                        
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            <div class="form-group">
                                <div class="col-lg-1 col-xs-1 col-sm-1 col-md-1">
                                </div>
                                <div class="col-lg-11 col-xs-11 col-sm-11 col-md-11">
                                    <label id="storNameAssign" class="control-label">发货仓库：</label>
                                </div>
                            </div>
                        </div>
                        
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            <div class="form-group">
                                <div class="col-lg-1 col-xs-1 col-sm-1 col-md-1">
                                </div>
                                <div class="col-lg-11 col-xs-11 col-sm-11 col-md-11">
                                    <label id="lgstNameAssign" class="control-label">物流公司：</label>
                                </div>
                            </div>
                        </div>
                        
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            <div class="form-group">
                                <div class="col-lg-1 col-xs-1 col-sm-1 col-md-1">
                                </div>
                                <div class="col-lg-11 col-xs-11 col-sm-11 col-md-11">
                                    <label id="lgstNoAssign" class="control-label">快递单号：</label>
                                </div>
                            </div>
                        </div>
                     </div> 
                     
                      <div class="row">
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            <div class="form-group">
                                <div class="col-lg-1 col-xs-1 col-sm-1 col-md-1">
                                </div>
                                <div class="col-lg-11 col-xs-11 col-sm-11 col-md-11">
                                    <label id="custRemarkAssign" class="control-label">买家留言：</label>
                                </div>
                            </div>
                        </div>
                        
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            <div class="form-group">
                                <div class="col-lg-1 col-xs-1 col-sm-1 col-md-1">
                                </div>
                                <div class="col-lg-11 col-xs-11 col-sm-11 col-md-11">
                                    <label id="salesRemarkAssign" class="control-label">卖家备注：</label>
                                </div>
                            </div>
                        </div>
                        
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            <div class="form-group">
                                <div class="col-lg-1 col-xs-1 col-sm-1 col-md-1">
                                </div>
                                <div class="col-lg-11 col-xs-11 col-sm-11 col-md-11">
                                    <label id="remarkAssign" class="control-label">内部备注：</label>
                                </div>
                            </div>
                        </div>
                        
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                        </div>
                        
                      </div>
                      
                     <h3>发货单</h3>
                     <div class="row">
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            <div class="form-group">
                                <label for="consAssign" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">收货人<span
                                            class='require'>*</label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <input id="consAssign" name="consAssign" type="text" placeholder="" minlength="1"
                                           maxlength="100" class="form-control required" required />
                                </div>
                            </div>
                        </div>
                        
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            <div class="form-group">
                                <label for="consTelAssign" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">固定电话</label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <input id="consTelAssign" name="consTelAssign" type="text" placeholder="" minlength="1"
                                           maxlength="20" class="form-control " />
                                </div>
                            </div>
                        </div>
                        
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            <div class="form-group">
                                <label for="consMobileAssign" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">手机</label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <input id="consMobileAssign" name="consMobileAssign" type="text" placeholder="" minlength="1"
                                           maxlength="20" class="form-control " />
                                </div>
                            </div>
                        </div>
                        
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            <div class="form-group">
                                <label for="consAddrAssign" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">收货地址<span
                                            class='require'>*</label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <input id="consAddrAssign" name="consAddrAssign" type="text" placeholder="" minlength="1"
                                           maxlength="500" class="form-control required" required />
                                </div>
                            </div>
                        </div>
                        
                     </div>
                     
                     <div class="row">
                        <!-- erp数据库有此字段，但是oms暂时不要
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            <div class="form-group">
                                <label for="consPostCodeAssign" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">邮编</label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <input id="consPostCodeAssign" name="consPostCodeAssign" type="text" placeholder="" minlength="1"
                                           maxlength="50" class="form-control " />
                                </div>
                            </div>
                        </div>
                         -->
                         
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            <div class="form-group">
                                <label for="provNameAssign" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">省<span
                                            class='require'>*</span></label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <select id="provNameAssign" name="provNameAssign" class="form-control " required>
                                        <option value="">请选择</option>
                                    </select>
                                </div>
                            </div>
                        </div>
                        
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            <div class="form-group">
                                <label for="cityNameAssign" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">市<span
                                            class='require'>*</span></label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <select id="cityNameAssign" name="cityNameAssign" class="form-control " required>
                                        <option value="">请选择</option>
                                    </select>
                                </div>
                            </div>
                        </div>
                        
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            <div class="form-group">
                                <label for="distNameAssign" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">区</label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <select id="distNameAssign" name="distNameAssign" class="form-control ">
                                        <option value="">请选择</option>
                                    </select>
                                </div>
                            </div>
                        </div>
                        
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                        </div>
                     </div>
                     
                     <div class="row">
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            <div class="form-group">
                                <label for="storIdShipAssign" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">发货仓库<span
                                            class='require'>*</span></label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <select id="storIdShipAssign" name="storIdShipAssign" class="form-control required" required>
                                        <option value="">请选择</option>
                                    </select>
                                </div>
                            </div>
                        </div>
                        
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                            <div class="form-group">
                                <label for="lgstIdShipAssign" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">物流公司</label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <select id="lgstIdShipAssign" name="lgstIdShipAssign" class="form-control forsubmiteq" >
                                        <option value="">请选择</option>
                                    </select>
                                </div>
                            </div>
                        </div>
                        
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                        </div>
                        
                        <div class="col-lg-3 col-xs-3 col-sm-3 col-md-3">
                        </div>
                        
                     </div>
                     </form>
                    <p>
                    <div class="portlet-body" style="overflow-x:auto;">
                    <div class="table-responsive" style="float: left;width: 2129px;">
                        <table id="shipOrderTable"
                               style="table-layout:fixed;" class="table table-striped table-bordered table-hover" 
                               width="100%" >
                            <thead>
                            <tr>
                                <th width="2%" colValue="">属性</th>
                                <th width="13%" colValue="">平台商品商家编码</th>
                                <th width="8%" colValue="">平台商品名称</th>
                                <th width="13%" colValue="">平台规格商家编码</th>
                                <th width="8%" colValue="">平台规格名称</th>
                                <th width="13%" colValue="">商品商家编码</th>
                                <th width="8%" colValue="">商品名称</th>
                                <th width="13%" colValue="">规格商家编码</th>
                                <th width="8%" colValue="">规格名称</th>
                                <th width="5%" colValue="" style="text-align:right;">标准售价</th>
                                <th width="5%" colValue="" style="text-align:right;">实际单价</th>
                                <th width="2%" colValue="" style="text-align:right;">订购数量</th>
                                <th width="5%" colValue="" style="text-align:right;">待发货数</th>
                                <th width="5%" colValue="" style="text-align:right;">发货中数</th>
                                <th width="5%" colValue="" style="text-align:right;">已发货数</th>
                                <th width="5%" colValue="" style="text-align:right;">要发货数</th>
                                <th width="5%" colValue="">操作</th>
                            </tr>
                            <tbody>
    
                            </tbody>
                            </thead>
                        </table>
                    </div>
                    </div>
                     
                </div>
                <div class="modal-footer">
                    <button type="button" data-dismiss="modal" class="btn btn-default">取消</button>
                    <button id="btnAssignAdd" type="button" class="btn btn-primary">确定</button>
                </div>
            </div>
        </div>
    </div>
    
    <!-- 手动下载 -->
        <div id="modalDownLoad" tabindex="-1" role="dialog" aria-labelledby="modal-header-primary-label" data-backdrop="static" aria-hidden="true" class="modal fade">
            <div class="modal-dialog" style="width: 50%;">
                <div class="modal-content">
                    <div class="modal-header modal-header-primary">
                        <button type="button" data-dismiss="modal" aria-hidden="true" class="close">&times;</button>
                        <h4 id="modal-header-primary-label" class="modal-title">手动下载订单</h4>
                    </div>
                    <div class="modal-body">
                        <form id="downLoadForm" role="form" action="" class="form-horizontal">
                            <div class="row">
                                <div class="col-lg-8 col-xs-8 col-sm-8 col-md-8">
                                    <div class="form-group">
                                        <label for="shopIdDownLoad" class="col-sm-6 col-lg-6 col-xs-6 col-md-6 control-label">网店</label>
                                        <div class="col-sm-6 col-lg-6 col-xs-6 col-md-6">
                                            <select id="shopIdDownLoad" name="shopIdDownLoad" class="form-control required" required>
                                                <option value="">请选择</option>
                                            </select>
                                        </div>
                                    </div>
                                </div>
                                <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
                                <span class='require'>*</span>
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-lg-8 col-xs-8 col-sm-8 col-md-8">
                                    <div class="form-group">
                                        <div class="col-sm-6 col-lg-6 col-xs-6 col-md-6" align="right">
                                            <input type="radio" name="optionsRadios" id="optionsRadios1" value="option1" checked> 按平台单号
                                        </div>
                                        <div class="col-sm-6 col-lg-6 col-xs-6 col-md-6">
                                            <input id="ecTradeCode" name="ecTradeCode" type="text" placeholder="" minlength="1" maxlength="100"
                                            class="form-control" />
                                        </div>
                                    </div>
                                </div>
                                <div id="optionsDiv1" class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
                                </div>
                            </div>
                            <div class="row">
                                <div class="col-lg-8 col-xs-8 col-sm-8 col-md-8">
                                    <div class="form-group">
                                        <div class="col-sm-6 col-lg-6 col-xs-6 col-md-6" align="right">
                                            <input type="radio" name="optionsRadios" id="optionsRadios2" value="option2"> 按客户ID
                                        </div>
                                        <div class="col-sm-6 col-lg-6 col-xs-6 col-md-6">
                                            <input id="buyerNickDownload" name="buyerNickDownload" type="text" placeholder="" minlength="1" maxlength="100"
                                            class="form-control" />
                                        </div>
                                    </div>
                                </div>
                                <div id="optionsDiv2" class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
                                </div>
                            </div>
                        </form>
                    </div>
                    <div class="modal-footer">
                        <button id="btnDownLoadClose" type="button" data-dismiss="modal" class="btn btn-default">取消</button>
                        <button id="btnDownLoad" type="button" class="btn btn-primary">确定</button>
                    </div>
                </div>
            </div>
        </div>
    <!--END CONTENT-->
    <!-- 导出文件 -->
    <div id="exportList" tabindex="-1" role="dialog" aria-hidden="true" data-backdrop="static" class="modal fade"
        aria-labelledby="modal-header-primary-label">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header modal-header-primary">
                    <button type="button" data-dismiss="modal" aria-hidden="true" class="close">x</button>
                    <h4 id="modal-header-primary-label" class="modal-title">导出EXCEL</h4>
                </div>
                <div class="modal-body">
                    <form id="formShopTypeSelect" role="form" action="#" class="form-horizontal">

                        <div class="row">
                            <div class="form-group">
                                <div class="container-fluid">
                                    <div class="btn-group btn-group-sm mbm" style="margin-left: 15px;">
                                        <select id="exportSelect" name="exportSelect" class="form-control" >
                                            <option value="商品信息" selected>商品信息</option>
                                        </select>
                                        <a id="select-all" href="#" class="btn btn-default">全选择</a>
                                        <a id="deselect-all" href="#" class="btn btn-default">全清除</a>
                                        <a id="refresh" href="#" class="btn btn-default">刷新</a>
                                    </div>
                                    <select id="public-methods" multiple="multiple" style="position: absolute; left: -9999px;">

                                    </select>
                                </div>
                            </div>
                        </div>
                    </form>
                    <iframe id="exportFrame" style= "display   :none "></iframe>
                </div>
                <div class="modal-footer">
                    <button id="shutExportList" type="button" data-dismiss="modal" class="btn btn-default">关闭</button>
                    <button id="btnExportList" type="button" class="btn btn-primary">导出</button>
                </div>
            </div>
        </div>
    </div>
    
    <!-- 系统订单导入 -->
	<div id="newAdjustPage" tabindex="-1" role="dialog" aria-labelledby="modal-header-primary-label" data-backdrop="static" aria-hidden="true" class="modal fade">
	    <div class="modal-dialog " style="width: 90%;">
	        <div class="modal-content">
	            <div class="modal-header modal-header-primary">
	                <button type="button" data-dismiss="modal" aria-hidden="true" class="close">&times;</button>
	                <h4 id="newAdjustPageTitle" class="modal-title">系统订单导入</h4>
	            </div>
	            <div class="modal-body" style="overflow-y:auto; overflow-x:auto;height: 555px">
	                <!--<input type="hidden" id="isNew" name="isNew" />-->
	                <input type="hidden" id="adjustId" name="adjustId" />
	                <form id="frmNewAdjust" name="frmNewAdjust" role="form" action="" class="form-horizontal advance-query">
	                    <!-- <div class="panel-heading" style="font-size: 14px">基础信息</div>
	
	                    <div class="row">
	                        <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
	                            <div class="form-group">
	                                <label for="storIdNew" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">第三方仓库<span
	                                        class='require'>*</span></label>
	                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
	                                    <select id="storIdNew" name="storIdNew" class="form-control required" required>
	                                        <option value="">请选择</option>
	                                    </select>
	                                </div>
	                            </div>
	                        </div>
	
	                        <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
	                        </div>
	
	                        <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
	                        </div>
	                    </div>
	
	                    <div class="row">
	
	                        <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
	                            <div class="form-group">
	                                <label for="remarkNew" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">内部备注</label>
	                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
	                                    <textarea id="remarkNew" name="remarkNew" maxlength="200" class="form-control " >
	                                    </textarea>
	                                </div>
	                            </div>
	                        </div>
	
	                        <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
	
	                        </div>
	
	                        <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
	
	                        </div>
	
	                    </div> -->
	                </form>
	                <p>
	                <!-- <hr/> -->
	                <div class="row">
	                    <div class="col-lg-12">
	                        <div class="portlet box portlet-blue tabbable">
	                            <div class="portlet-body">
	                                <div class="tabbable ">
	                                    <ul class="nav nav-tabs ul-edit responsive">
	                                        <li class="active"><a id="adjustSkuInfo" href="#adjustSkuInfo" data-toggle="tab">商品明细信息</a></li>
	                                        <li>
	                                            <!--<a href="/views/warehouse/extAdjust/调整单模板.xls"  id="downloadExcelHref" style="display:none" >模板下载</a>-->
	                                            <button id="downloadExcel" style="margin-top: 12px;" type="button" class="btn btn-warning btn-xs">
	                                                <i class="fa"></i>&nbsp;模板下载
	                                            </button>&nbsp;
	                                        </li>
	                                        <li>
	                                            <input type="file" style="margin-top: 12px;" class="" name="upload-file" id="upload-file"/>
	                                            <!--<button id="importSku" onclick="importSku()" style="margin-top: 12px;" type="button" class="btn btn-warning btn-xs" >-->
	                                                <!--<i class="fa"></i>&nbsp;批量导入-->
	                                            <!--</button>-->
	                                        </li>
	
	                                        <li style="float:right">
	                                            <button id="clearAll" onclick="" style="margin-top: 12px;" type="button" class="btn btn-warning btn-xs" >
	                                                <i class="fa"></i>&nbsp;清除
	                                            </button>
	                                        </li>
	
	                                        <!-- <li style="float:right">
	                                            <button id="addSku"  style="margin-top: 12px;" type="button" class="btn btn-warning btn-xs">
	                                                <i class="fa"></i>&nbsp;添加商品
	                                            </button>&nbsp;
	                                        </li> -->
	                                    </ul>
	                                    <div class="tab-content">
	                                        <!-- 商品信息div -->
	                                        <div id="orderSkuInfoTab" class="tab-pane fade in active">
	                                            <input type="hidden" id="operStus" />
	                                            <p>
	                                            <div class="portlet-body ">
	                                                <div class="table-responsive" style="overflow-x: scroll;">
	                                                    <table id="adjustTableUpdate"
	                                                        class="table table-hover table-striped table-bordered table-advanced" width="100%">
	                                                        <thead>
	                                                        <tr>
	                                                            <th id="thShopAccount" width="3%">网店(账号)</th>
	                                                            <th width="3%">平台</th>
	                                                            <th width="3%">来源单号</th>
	                                                            <th width="3%">客户ID</th>
	                                                            <th width="3%">发货仓库(编码)</th>
	                                                            <th width="3%">物流公司编码</th>
	                                                            <th width="3%">快递单号</th>
	                                                            <th width="3%">业务员</th>
	                                                            <th width="3%">内部备注</th>
	                                                            <th width="3%">姓名</th>
	                                                            <th width="5%">手机</th>
	                                                            <th width="5%">固定电话</th>
	                                                            <th width="5%">收货地址</th>
	                                                            <th width="5%">省</th>
	                                                            <th width="5%">市</th>
	                                                            <th width="5%">区</th>
	                                                            <th width="5%">邮编</th>
	                                                            <th width="5%" style="text-align:right;">支付金额</th>
	                                                            <th width="5%">付款时间</th>
	                                                            <th width="5%" style="text-align:right;">物流费用</th>
	                                                            <th width="5%">规格商家编码</th>
	                                                            <th width="5%" style="text-align:right;">商品数量</th>
	                                                            <th width="5%" style="text-align:right;">实际单价</th>
	                                                            <th width="5%">备注</th>
	                                                        </tr>
	                                                        </thead>
	                                                        <tbody>
	                                                        </tbody>
	                                                    </table>
	                                                </div>
	                                            </div>
	                                        </div>
	                                    </div>
	                                </div>
	                            </div>
	                        </div>
	                    </div>
	                </div>
	            </div>
	            <div class="modal-footer">
	                <button id="btnAdjustCancel" type="button" data-dismiss="modal" class="btn btn-default">取消</button>
	                <button id="btnAdjustAdd" type="button" class="btn btn-primary">保存</button>
	            </div>
	        </div>
	    </div>
	</div>
	
	<!-- 下载错误文件 -->
	<div id="modalDownFile" tabindex="-1" role="dialog" aria-labelledby="modal-header-primary-label" data-backdrop="static" aria-hidden="true" class="modal fade">
	    <div class="modal-dialog">
	        <div class="modal-content">
	            <div class="modal-header modal-header-primary">
	                <button type="button" data-dismiss="modal" aria-hidden="true" class="close">&times;</button>
	                <h4 id="modal-header-primary-label" class="modal-title">订单导入失败，请修正后重新导入</h4>
	            </div>
	            <div class="modal-body">
	                <!-- <h3 class="mbxl">备注填写</h3> -->
	                <form id="batchRemarkForm" role="form" action="" class="form-horizontal">
	                    <div class="form-group" style="text-align: center">
	                        <a id="downloadFile" href="#" style="font-size: 30px;">导出失败明细</a>
	                    </div>
	                </form>
	            </div>
	            <div class="modal-footer">
	                <button id="btnBatchRemarkCancel" type="button" data-dismiss="modal" class="btn btn-default">取消</button>
	                <button id="btnBatchRemark" type="button" data-dismiss="modal" class="btn btn-primary">确定</button>
	            </div>
	        </div>
	    </div>
	</div>

    <!-- 加载 jquery js-->
    <script src="/Apollo/madmin/js/jquery-1.10.2.min.js"></script>
    <script src="/Apollo/madmin/js/jquery-migrate-1.2.1.min.js"></script>
    <script src="/Apollo/madmin/js/jquery-ui.js"></script>

    <!-- 加载 bootstrap 和三方插件 js -->
    <script src="/Apollo/madmin/vendors/bootstrap/js/bootstrap.min.js"></script>
    <script src="/Apollo/madmin/vendors/bootstrap-hover-dropdown/bootstrap-hover-dropdown.js"></script>
    <script src="/Apollo/madmin/js/html5shiv.js"></script>
    <script src="/Apollo/madmin/js/respond.min.js"></script>
    <script src="/Apollo/madmin/vendors/jquery-cookie/jquery.cookie.js"></script>
    <script src="/Apollo/madmin/vendors/iCheck/icheck.min.js"></script>
    <script src="/Apollo/madmin/vendors/iCheck/custom.min.js"></script>
    <script src="/Apollo/madmin/vendors/jquery-notific8/jquery.notific8.min.js"></script>
    <script src="/Apollo/madmin/vendors/holder/holder.js"></script>
    <script src="/Apollo/madmin/vendors/responsive-tabs/responsive-tabs.js"></script>
    <script src="/Apollo/madmin/vendors/moment/moment.js"></script>
    <script src="/Apollo/madmin/vendors/DataTables/media/js/jquery.dataTables.js"></script>
    <script src="/Apollo/madmin/vendors/DataTables/media/js/dataTables.bootstrap.js"></script>
    <script src="/Apollo/madmin/vendors/DataTables/extensions/TableTools/js/dataTables.tableTools.min.js"></script>
    <script src="/Apollo/madmin/vendors/jquery-tablesorter/jquery.tablesorter.js"></script>
    <script src="/Apollo/madmin/js/table-advanced.js"></script>
    <script src="/Apollo/madmin/vendors/jquery-validate/jquery.validate.min.js"></script>
    <script src="/Apollo/madmin/vendors/jquery-validate/message_zh.js"></script>
    <script src="/Apollo/madmin/vendors/jquery-steps/js/jquery.steps.min.js"></script>
    <script src="/Apollo/madmin/vendors/jquery-bootstrap-wizard/jquery.bootstrap.wizard.min.js"></script>
    <script src="/Apollo/madmin/vendors/bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.js"></script>
    
    <script src="/Apollo/madmin/vendors/metisMenu/jquery.metisMenu.js"></script>
    <script src="/Apollo/madmin/vendors/slimScroll/jquery.slimscroll.js"></script>
    <script src="/Apollo/madmin/vendors/jquery-highcharts/highcharts.js"></script>
    <script src="/Apollo/madmin/js/jquery.menu.js"></script>
    <script src="/Apollo/madmin/vendors/jquery-news-ticker/jquery.newsTicker.min.js"></script>
    <script src="/Apollo/madmin/vendors/select2/select2.min.js"></script>
    <script src="/Apollo/madmin/vendors/bootstrap-select/bootstrap-select.min.js"></script>
    <!--<script src="/Apollo/madmin/vendors/multi-select/js/jquery.multi-select.js"></script>-->
    <!--<script src="/Apollo/madmin/js/ui-dropdown-select.js"></script>-->
    <script src="/Apollo/madmin/vendors/DataTables/jquery.jeditable.js"></script>
    <script src="/Apollo/madmin/js/table-editable.js"></script>

    <script src="/views/static/js/setPageButtonStatus.js"></script>
    <script src="orderList.js"></script>
    <script src="./plugins/xlsx.full.min.js"></script>
    <script src="./plugins/shim.min.js"></script>
    <script src="export.js"></script>
    <script src="import.js"></script>
    <!--<script src="/views/static/js/export.js"></script>-->
    <script src="/views/static/js/form.js"></script>
</body>
</html>